<template>
  <div class="recommend">
  <div v-for="item in recommends" class="recpic">
    <a :href="item.link"><img :src="item.image" alt=""></a>
    <div>{{item.title}}</div>
  </div>
    </div>
</template>

<script>
export default {
name: "HomeRecommend",
  props:{
  recommends:{
    default() {
      return [];
    }
  }
  }
}
</script>

<style scoped>
.recommend{
  display: flex;
  text-align: center;
  font-size: 12px;

}
.recpic{
  flex: 1;
}
.recpic img{
  width: 65px;
  height: 65px;
  margin-bottom: 10px;
}

</style>
